package com.hzgj.bcl.soa.command;

import com.hzgj.bcl.soa.MonitorServiceImpl;
import com.hzgj.bcl.util.IocContext;

import static com.hzgj.bcl.soa.command.CommandsInitializer.INVOKE_COMMAND;

/**
 * Created by Administrator on 2016/8/9.
 */
public class InvokeInfo extends BaseCommand {

    @Override
    public String invoke(CommandOptions commandOptions) {
        MonitorServiceImpl monitorService = IocContext.applicationContext.getBean(MonitorServiceImpl.class);
        if (monitorService == null) {
            return "";
        }
        return null;
    }

    @Override
    public String getName() {
        return INVOKE_COMMAND;
    }
}
